namespace graver.CodeAnalysis.Binding;

internal sealed class BoundLiteralExpression : BoundExpression
{
    public BoundLiteralExpression(object literalValue)
    {
        LiteralValue = literalValue;
    }

    public override BoundNodeKind Kind => BoundNodeKind.LiteralExpression;
    public override Type Type => LiteralValue.GetType();

    public object LiteralValue { get; }
}
